package com.qfedu.smart_community.service.impl;

import com.qfedu.smart_community.entity.House;
import com.qfedu.smart_community.mapper.HouseMapper;
import com.qfedu.smart_community.service.HouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version v1.0
 * @Date 2023/10/23 21:25
 * @Author DARKER
 * @Email 1402216045@qq.com
 */
@Service
public class HouseServiceImpl implements HouseService {

    @Autowired
    private HouseMapper mapper;
    @Override
    public List<House> findAll() {
        List<House> list = mapper.selectAll();
        return list;
    }
}
